@extends('layouts.default')

@section('title')
    {{{ $user->name }}} {{ lang('Charge Point') }}_@parent
@stop

@section('content')

    <div class="users-show row">

        <div class="col-md-3">
            @include('users.partials.basicinfo')
        </div>

        <div class="main-col col-md-9 left-col">

            <ol class="breadcrumb">
                <li><a href="{{ route('users.show', $user->id) }}">个人中心</a></li>
                <li class="active">D币统计</li>
            </ol>

            <div class="panel panel-default text-center">
                <div class="panel-body">
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th class="text-center">增加的总D币</th>
                            <th class="text-center">消耗的总D币</th>
                            <th class="text-center">剩余D币数</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{{$dcoin_statistic['add_dcoins']}}</td>
                            <td>{{$dcoin_statistic['minus_dcoins']}} </td>
                            <td>{{$dcoin_statistic['remain_dcoins']}}</td>
                        </tr>
                        </tbody>
                    </table>


                </div>

            </div>
            <div class="alert alert-warning">
                说明：剩余D币数 = 增加的总D币 - 消耗的总D币
            </div>
        </div>
    </div>

@stop
